package com.entity;

import com.baseEnum.SexType;

import java.io.Serializable;

/**
 * 学生
 *
 * @Author zhangfoshou
 * @Since 2016/1/6
 */
public class Student implements Serializable {
    private Integer id;
    private String name;//姓名
    private SexType sex;//性别
    private String stuNo;//学号
    private String professionNo;//专业编号
    private String classes;//班级

    public Student() {
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public SexType getSex() {
        return sex;
    }

    public void setSex(SexType sex) {
        this.sex = sex;
    }

    public String getStuNo() {
        return stuNo;
    }

    public void setStuNo(String stuNo) {
        this.stuNo = stuNo;
    }

    public String getProfessionNo() {
        return professionNo;
    }

    public void setProfessionNo(String professionNo) {
        this.professionNo = professionNo;
    }

    public String getClasses() {
        return classes;
    }

    public void setClasses(String classes) {
        this.classes = classes;
    }

    @Override
    public String toString() {
        return "Student{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", sex=" + sex +
                ", stuNo='" + stuNo + '\'' +
                ", professionNo='" + professionNo + '\'' +
                ", classes='" + classes + '\'' +
                '}';
    }
}
